<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 300px;
            height: 300px;
            background-color: rebeccapurple;
            background-image: url(img/gslog.jpeg);
            /* 不重复 */
            background-repeat: no-repeat;
            /* 20px 50px  x轴一定是20  y轴一定是50*/
            /* background-position: 20px 50px; */

            /* 后面没有默认是center */
            background-position: 20px ; 
        }
    </style>
</head>
<body>
    <div>
        
    </div>
</body>
</html>